package com.zhengping.zpys;

        import org.mybatis.spring.annotation.MapperScan;
        import org.springframework.boot.SpringApplication;
        import org.springframework.boot.autoconfigure.SpringBootApplication;
        import org.springframework.context.annotation.ComponentScan;
        import org.springframework.transaction.annotation.EnableTransactionManagement;


@SpringBootApplication
@EnableTransactionManagement//开启事务管理
@ComponentScan(basePackages={"com.zhengping"})//扫描注解元素
public class ZpysApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZpysApplication.class, args);
    }

}
